import {createRoute, dynamicWrapper} from '../../utils/core';

const routesConfig = app => ({
  path: '/data',
  title: '检验数据',
  component: dynamicWrapper(app,
    [import('./model'), import('./components/PatientInfo/model'), import("./components/PatientList/model"),
      import("./components/TestData/model"), import("./components/TestDataHistory/model")
      , import("./components/TestDataChart/model")],
    () => import('./components'))
});

export default app => createRoute(app, routesConfig);
